const tty = require("tty") as typeof import("tty")